<%@ page language="java" pageEncoding="UTF-8" isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link rel="stylesheet" type="text/css" href="../css/tcal.css" />
	<script type="text/javascript" src="../js/tcal.js"></script> 
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册页面</title>
</head>
<body>
<form action="${pageContext.request.contextPath }/servlet/RegisterServlet" method="post">
	<table border="1">
		<tr>
			<td>用户名：</td>
			<td>
			<input type="text" name="username" value="${loginForm.username}"/>
			<span>${loginForm.errorMsgMap.username}</span>
			</td>
		</tr>
		<tr>
			<td>密码：</td>
			<td>
			<input type="password" name="password" />
			<span>${loginForm.errorMsgMap.password}</span>
			</td>
		</tr>
		<tr>
			<td>确认密码：</td>
			<td>
			<input type="password" name="password2"/>
			<span>${loginForm.errorMsgMap.password2}</span>
			</td>
		</tr>
		<tr>
			<td>生日：</td>
			<td>
			<input type="text" name="birthday"  class="tcal" value="${loginForm.birthday}"/>
			<span>${loginForm.errorMsgMap.birthday}</span>
			</td>
		</tr>
		<tr>
			<td>电子邮件：</td>
			<td>
			<input type="text" name="email" value="${loginForm.email}"/>
			<span>${loginForm.errorMsgMap.email}</span>
			</td>
		</tr>
		<tr>
			<td>昵称：</td>
			<td>
			<input type="text" name="nickname" value="${loginForm.nickname}"/>
			<span>${loginForm.errorMsgMap.nickname}</span>
			</td>
		</tr>
		<tr>
		<td colspan="2"><input type="submit" value="提交"/></td>
		</tr>
	</table>
</form>
</body>

</html>